﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;
using System.Web;
namespace Fcdbas.Core.WCF.TransFile.Service.Common
{
    public static class Const
    {
        public static string DefaultSpacePath
        {
            get { string path =  Runtime.IsWeb ? HttpRuntime.BinDirectory : AppDomain.CurrentDomain.BaseDirectory;
                if(Runtime.IsWeb)
                    path = path + "Report\\";
                else
                    path = path + "Report\\";
                return path;
            }
        }
        public static string ReportViewPath
        {
            get
            {
                string path = Runtime.IsWeb ? HttpRuntime.BinDirectory : AppDomain.CurrentDomain.BaseDirectory;
                if (Runtime.IsWeb)
                    path = path + "ReportView\\";
                else
                    path = path + "ReportView\\";
                return path;
            }
        }
    }
}
